package com.qlzb.taskmanagement.persistentData.dao;


import com.qlzb.taskmanagement.persistentData.entity.OperationMeterage;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface OperationMeterageDao extends CrudRepository<OperationMeterage,Integer> {
    public List<OperationMeterage> findByAreaId(String areaId);
    public void deleteByAreaId(String areaId);
    public OperationMeterage findByOperationId(String operationId);
    public OperationMeterage findByStationOperationId(String operationId);
    public OperationMeterage findByStationCode(String stationCode);
    public int countByAreaId(String areaId);
}
